using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

using UI.BudgetManage;
using Common.UIFunction;


namespace UI.BudgetManage.ChildForm.BudgetPay
{
    public partial class ComfireForm : Form
    {
        List<string[,]> TableContext;
        public ComfireForm()
        {
            InitializeComponent();
        }
        public ComfireForm(List<string[,]> context)
        {
            InitializeComponent();
            this.TableContext = context;
        }

        private void ComfireForm_Load(object sender, EventArgs e)
        {
            TextTable table = new TextTable(this.dgvComfireTable);
            int[] width = {300,300};
            table.TextTableBound(this.TableContext[0], width);
        }

        private void btnPrint_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.OK;
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.DialogResult = DialogResult.No;
        }

       
    }
}